// This class provides the implementation of a GuiInterface object,
// used to interface between the GUI and the backend code
//
// Created by River on 11/4/11
// Edited by Christopher Bowlsby on 11/5/11
// Updated by Raquel Rhodes on 11/7/11
//  *****added somethingHappened()

#ifndef GUIINTERFACE_H
#define GUIINTERFACE_H

#include "Interface.h"
#include <QtGui/QApplication>
#include <QtGui/QFont>
#include <QtGui/QPushButton>
#include "Dungeons_and_Princesses_gui.h"
#include "TextInterface.h"

class Dungeons_and_Princesses_gui;

class GuiInterface : public Interface
{
private:
    int argc;
    char ** argv;

public:
    GuiInterface(Game * ptrToCurrentGame,int argc, char* argv[]);
    Dungeons_and_Princesses_gui *w;
    void loadInterface();
    void update(string errorMSG = "");
    void setupPlayer();
    void showRoomInventory();
    QString showDescription();
 //   void showPrompt();
    QString showDirections();
    void getResponse(std::string prompt, std::string &response);
    void showPlayerInventory();
   void showHelp(vector<std::string> *helpFile);
    void somethingHappened(std::string);
};

#endif // GUIINTERFACE_H
